<?php //$Id: accept_invitation.php 94 2006-12-10 21:56:21Z heinz $

require_once('../config.php');
require_once('./lib.php');
global $USER;
global $CFG;

$token = required_param('token', PARAM_RAW);
$moderated = optional_param('moderated',false,PARAM_RAW);

if($token)
  {
    print(get_flashwrapper("chatClient", $CFG->red5_url, $token, $USER->firstname." ".$USER->lastname, "", "invitee", $moderated));
  }
    

?>
